home *** CD-ROM | disk | FTP | other *** search
/ PC Media 7 / PC MEDIA CD07.iso / share / prog / cm / cmbag.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-06  |  870 b   |  26 lines

  1. // CmBag.h
  2. // -----------------------------------------------------------------
  3. // Compendium - C++ Container Class Library
  4. // Copyright (C) 1992-1994, Glenn M. Poorman, All rights reserved
  5. // -----------------------------------------------------------------
  6. // Bag definition.
  7. // -----------------------------------------------------------------
  8.  
  9. #ifndef _CMBAG_H
  10. #define _CMBAG_H
  11.  
  12. #include <cm/include/cmhash.h>
  13.  
  14. class CmBag : public CmHashTable {          // Bag class definition.
  15. public:
  16.   CmBag(unsigned = 10);                     // Default bag constructor.
  17.   CmBag(const CmBag&);                      // Bag copy constructor.
  18.  ~CmBag() {}                                // Bag destructor.
  19.  
  20.   CmBag& operator=(const CmBag&);           // Assignment operator.
  21.  
  22.   CMOBJECT_DEFINE(CmBag, CmHashTable)       // Define object funcs.
  23. };
  24.  
  25. #endif
  26.